<template>
	<view>
		<view>
			<text>传递过来的参数,id:{{id}},name:{{name}}</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id:null,
				name:null
			}
		},
		onLoad(option){
			console.log('onLoadOption',option)
			this.id=option.id
			this.name=option.name
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
